package it.gma.torero.operator;

import it.gma.torero.operand.ComparationOperand;

public class NotEqualsOperator extends AbstractComparationOperator {

	public NotEqualsOperator(ComparationOperand operand1, ComparationOperand operand2) {
		super(operand1, operand2);
		
	}
	
	
	public boolean evaluate() {
		return !operand1.equals(operand2);
	}

	@Override
	public String toString() {
		return operand1 + " != " + operand2;
	}

}
